﻿#region License

/* **********************************************************************************
 * Copyright (c) Roman Ivantsov
 * This source code is subject to terms and conditions of the MIT License
 * for Irony. A copy of the license can be found in the License.txt file
 * at the root of this distribution. 
 * By using this source code in any fashion, you are agreeing to be bound by the terms of the 
 * MIT License.
 * You must not remove this notice from this software.
 * **********************************************************************************/

#endregion

using Irony.Ast;
using Irony.Interpreter;
using Irony.Parsing;

namespace Irony.Lua.Ast {

    public class LuaChunkNode : BlockNode {

        public LuaChunkNode() { }

    public override void Init(ParsingContext context, ParseTreeNode treeNode) {
      base.Init(context, treeNode);
      if (treeNode.ChildNodes.Count > 1)
          AddChild(string.Empty, treeNode.ChildNodes[1]);

      AsString = "LuaChunk";
    }
    
    }//class

}

//namespace

